cmake_minimum_required(VERSION 2.6)
project(gst_pcm2freq)

find_package(GLIB2 REQUIRED)
find_package(LibXml2 REQUIRED)
find_package(GStreamer REQUIRED)

include_directories(${GSTREAMER_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR} ${LIBXML2_INCLUDE_DIR})
add_definitions(-DGST_DISABLE_DEPRECATED)

#sources
set(gst_pcm2freq_SRCS  "gst_pcm2freq.c" "gst_pcm2freq.h" )

add_library(gst_pcm2freq SHARED ${gst_pcm2freq_SRCS})
